import service from "../utiles/request/index";

export function duty_list(payload:any={}){
    return service.get('/duty/dutylist',payload)
}
// 添加信息
export function duty_add(payload = {}){
    return service.post('/duty/dutyadd',payload)
}

//删除信息
export function duty_delete(payload:any = {}){
    return service.get('/duty/delete/'+payload.did,payload)
}

//编辑信息
export function duty_bianji(payload:any = {}){
    return service.post('/duty/dutyupdata',payload)
}